home *** CD-ROM | disk | FTP | other *** search
/ The Original Shareware 1.1 / The Original Shareware (WeMake CDs)(Volume 1.1)(CDs, Inc)(1993).iso / 16 / wputil.zip / UPLOWDOC.WP < prev    next >
Text File  |  1986-03-24  |  2KB  |  27 lines

  1. J Y└After a concerted effort to find the most efficient way of converting allupper case data to upper/lower case for use in Word Perfect Secondary format,I have discovered two utilities which, in combination, do the job quickly andefficiently.  These files are:
  2.  
  3. TEXT2.COM ⌐ Converts all upper case to all lower case.
  4.  
  5. CAPITA.COM ⌐ Selectively converts characters to upper case.
  6.  
  7. If either of these utilities are used without parameters, they display theoptions list first, and I recommend that you study these before you use them. To specifically change all upper to upper/lower, the following sequence works:
  8.  
  9. Convert whatever file you are using to an ASCII text file.  I do this in Dbaseby using COPY TO XXXXXXX SDF.  I have also constructed a small batch file,called "UP.BAT" which has the following commands:
  10.  
  11. TEXT2 ⌐S %1 %2
  12. CAPITA ⌐N %2 %3
  13.  
  14. Let's say that the file you want to convert to upper/lower is called TEMP.TXT. The command for the batch file could be constructed as follows:
  15.  
  16. UP TEMP.TXT TEMP1.TXT TEMP2.TXT
  17.  
  18. The following steps will happen:
  19.  
  20. TEXT2.COM will convert all data to lower case characters and output them in afile called TEMP1.TXT.
  21.  
  22. CAPITA.COM will convert the first character after each space or punctuationcharacter from the file TEMP1.TXT and output them into a file calledTEMP2.TXT.  
  23.  
  24. After this step, the intermediate files, TEMP.TXT and TEMP1.TXT, can beerased.  You can then convert the data to Word Perfect Secondary Merge format(Add ^R's and ^E's) using Dbase or db2wpsf from this BBS.
  25.  
  26. Please direct questions to Doug Boehmer on this BBS.